package unit3.test;

import java.util.Scanner;

public class EmptySanJiao {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();

        for (int i = 0; i < num; i++) {
            if (i == num - 1) {// 最后一行
                for (int j = 0; j < num * 2 - 1; j++) {
                    System.out.print("*");
                }
            } else {// 其余行
                int left = (num * 2 - 1) / 2 - i, right = (num * 2 - 1) / 2 + i;
                for (int j = 0; j < num * 2 - 1; j++) {
                    if (j == left || j == right) {
                        System.out.print("*");
                    } else {
                        System.out.print(" ");
                    }
                }
            }
            System.out.println();
        }
    }
}
